home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Concept 6
/
CD Concept 06.iso
/
mac
/
UTILITAIRE
/
RLaB
/
rlib
/
tanh.r
< prev
next >
Wrap
Text File
|
1994-02-21
|
309b
|
15 lines
//-------------------------------------------------------------------//
// Syntax: tanh ( X )
// Description:
// Tanh is the hyperbolic tangent of the element(s) of X.
//-------------------------------------------------------------------//
tanh = function ( x )
{
return (sinh (x) ./ cosh (x));
};